﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace VacationsRequest.Models
{
    public class VacationsReport
    {
        public string Team { get; set; }
        public int ID { get; set; }
        public string Name { get; set; }
        [DataType(DataType.Date)] 
        public DateTime? StartDate { get; set; }
        public int? NumVac { get; set; }
        public int? CountOfVacationDay { get; set; }
        public int? Rest { get; set; }
        public int? Reserved { get; set; }
    }

    public class EmployeeVacationDetails
    {
        [DataType(DataType.Date)]
        public DateTime? VacDate { get; set; }
        public string Comment { get; set; }
        public string Status { get; set; }
        [DataType(DataType.Date)]
        public DateTime? ApprovalDate { get; set; }
    }
}